We can drop the double suffix now.
GdkSurface *pointer_window;
GtkWidget *widget = NULL;
- pointer_window = gdk_device_get_surface_at_position_double (gtk_get_current_event_device (), NULL, NULL);
+ pointer_window = gdk_device_get_surface_at_position (gtk_get_current_event_device (), NULL, NULL);
if (pointer_window)
widget = GTK_WIDGET (gtk_root_get_for_surface (pointer_window));
<SUBSECTION>
gdk_device_get_state
gdk_device_get_position
-gdk_device_get_surface_at_position_double
+gdk_device_get_surface_at_position
gdk_device_get_history
gdk_device_free_history
GdkTimeCoord
}
/**
- * gdk_device_get_surface_at_position_double:
+ * gdk_device_get_surface_at_position:
* @device: pointer #GdkDevice to query info to.
* @win_x: (out) (allow-none): return location for the X coordinate of the device location,
* relative to the surface origin, or %NULL.
* device position, or %NULL.
**/
GdkSurface *
-gdk_device_get_surface_at_position_double (GdkDevice *device,
- gdouble *win_x,
- gdouble *win_y)
+gdk_device_get_surface_at_position (GdkDevice *device,
+ double *win_x,
+ double *win_y)
{
gdouble tmp_x, tmp_y;
GdkSurface *surface;
double *x,
double *y);
GDK_AVAILABLE_IN_ALL
-GdkSurface *
- gdk_device_get_surface_at_position_double
- (GdkDevice *device,
- gdouble *win_x,
- gdouble *win_y);
+GdkSurface * gdk_device_get_surface_at_position (GdkDevice *device,
+ double *win_x,
+ double *win_y);
GDK_AVAILABLE_IN_ALL
gboolean gdk_device_get_history (GdkDevice *device,
GdkSurface *surface,
GDK_SURFACE_IMPL_WAYLAND (attached_grab_surface->impl);
grab_device = gdk_seat_get_pointer (attached_impl->grab_input_seat);
transient_for =
- gdk_device_get_surface_at_position_double (grab_device, NULL, NULL);
+ gdk_device_get_surface_at_position (grab_device, NULL, NULL);
}
}
else
{
grab_device = gdk_seat_get_pointer (impl->grab_input_seat);
transient_for =
- gdk_device_get_surface_at_position_double (grab_device, NULL, NULL);
+ gdk_device_get_surface_at_position (grab_device, NULL, NULL);
}
if (transient_for)
}
device_manager = GDK_DEVICE_MANAGER_WIN32 (_gdk_device_manager);
- window = gdk_device_get_surface_at_position_double (device_manager->core_pointer, &x, &y);
+ window = gdk_device_get_surface_at_position (device_manager->core_pointer, &x, &y);
if (window)
g_object_ref (window);
/* Trigger logic as if the mouse moved */
device = gdk_seat_get_pointer (gdk_display_get_default_seat (display));
- surface = gdk_device_get_surface_at_position_double (device, &x, &y);
+ surface = gdk_device_get_surface_at_position (device, &x, &y);
if (!surface)
return;
GtkWidget *widget = NULL;
GdkSurface *pointer_surface;
- pointer_surface = gdk_device_get_surface_at_position_double (device, NULL, NULL);
+ pointer_surface = gdk_device_get_surface_at_position (device, NULL, NULL);
if (pointer_surface)
widget = gtk_root_get_for_surface (pointer_surface);